<?xml version="1.0" encoding="UTF-8"?>
<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1">
<jsp:directive.page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" />
<jsp:directive.page import="java.util.ArrayList, java.util.Iterator, cult.ticketing.bean.*" />
<jsp:output omit-xml-declaration="no" doctype-root-element="html" doctype-public="-//W3C//DTD XHTML 1.1//EN" doctype-system="http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd" />
<jsp:include page="templates/include_header.html" />

<jsp:text><![CDATA[<html>
<head>
<title>Cult Ticketing System</title>

<link href="]]></jsp:text><jsp:expression>request.getContextPath()</jsp:expression><jsp:text><![CDATA[/css/style.css" rel="stylesheet" type="text/css" />
<link href="]]></jsp:text><jsp:expression>request.getContextPath()</jsp:expression><jsp:text><![CDATA[/css/movie.css" rel="stylesheet" type="text/css" />
</head>

<body>
<div id="container">
]]></jsp:text>
<jsp:include page="templates/include_menu.jsp" />
<jsp:include page="templates/search.jsp" />

<jsp:text><![CDATA[<div id="main">
        <div id="content">
        <div id="head_image">
        	<div id="slogan"><strong>Cult Ticketing System -- Pay</strong><br />
       	    </div>
            <div id="under_slogan_text">
                <br /><br /><br /><br />

            </div>
          </div>

         <div id="left">]]></jsp:text>
            <jsp:include page="templates/login.jsp" />
            <jsp:include page="templates/calendar.jsp" />
         <jsp:text><![CDATA[</div>

         <div id="right">
            <h1>Pay</h1>
            <p>&nbsp;</p>]]></jsp:text>

            <jsp:text><![CDATA[
            <form name="payment" id="payment" method="post" action="]]></jsp:text><jsp:expression>request.getContextPath()</jsp:expression><jsp:text><![CDATA[/index.do">
            <input type="hidden" name="todo" id="todo" value="purchaseByCreditCard" />
                <label>Credit Card Number: </label><input type="text" name="creditCardNum" id="creditCardNum" value="" /><br />
                <label>Expiration Date: </label><input type="text" maxlength="2" name="expirationMonth" id="expirationMonth" value="mm" />/<input type="text" maxlength="4" name="expirationYear" id="expirationYear" value="yyyy" /><br />
                <label>Security Code: </label><input type="text" maxlength="3" name="securityCode" id="securityCode" value="" /><br />
                ]]></jsp:text>
                <jsp:scriptlet>
                    if (session.getAttribute("memberId") == null) {</jsp:scriptlet>
                        <jsp:text><![CDATA[<label>Email address: </label><input type="text" name="email" id="email" value="" />
                        <br /><span style="color:red">Your email address will be used to confirm your purchase when entering the movie theater.</span><br />]]></jsp:text>
                <jsp:scriptlet>}</jsp:scriptlet>
                <jsp:text><![CDATA[
                <input type="submit" value="Submit" style="position:relative; left:130px;"/>
            </form>
        </div>
	</div>
</div>
</div>]]></jsp:text>
<jsp:include page="templates/include_footer.html" />
<jsp:text><![CDATA[</body>
</html>
]]></jsp:text>
</jsp:root>
